projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7554a2
)
gdk_pixmap_draw_pixbuf - gc may be NULL
author
Alexander Larsson
<alexl@redhat.com>
Thu, 4 Dec 2008 21:15:56 +0000
(22:15 +0100)
committer
Alexander Larsson
<alex@localhost.localdomain>
Thu, 2 Apr 2009 08:14:06 +0000
(10:14 +0200)
gdk/gdkpixmap.c
patch
|
blob
|
history
diff --git
a/gdk/gdkpixmap.c
b/gdk/gdkpixmap.c
index cb99cb76ab853eee13dcbdd3c124699da6b0a93d..be1d3a2d41a290093a0973cd53dd9c18e4fcd25c 100644
(file)
--- a/
gdk/gdkpixmap.c
+++ b/
gdk/gdkpixmap.c
@@
-478,7
+478,8
@@
gdk_pixmap_draw_pixbuf (GdkDrawable *drawable,
{
GdkPixmapObject *private = (GdkPixmapObject *)drawable;
- _gdk_gc_remove_drawable_clip (gc);
+ if (gc)
+ _gdk_gc_remove_drawable_clip (gc);
gdk_draw_pixbuf (private->impl, gc, pixbuf,
src_x, src_y, dest_x, dest_y, width, height,
dither, x_dither, y_dither);